<%--
  Created by IntelliJ IDEA.
  User: Asking-mac
  Date: 2022/8/2
  Time: 10:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新增商品</title>
</head>
<body>
    <form action="InsertServlet" method="post" enctype="multipart/form-data">
        商品名称:<input type="text" name="goods_name"><br>
        商品价格:<input type="text" name="goods_price"><br>
        商品描述:<input type="text" name="goods_des"><br>
        商品数量:<input type="text" name="goods_num"><br>
        <input type="hidden" name="upload_people" value="<%=request.getAttribute("username")%>"><br>
        商品图片:<input type="file" name="goods_img"><br>
        <input type="submit" value="上传商品">
    </form>
</body>
</html>
